![]() |
NewIconSuite |
||||
Header: | Icons.h | Carbon status: | Supported | |
Gets a handle to an empty icon suite.
OSErr NewIconSuite ( IconSuiteRef *theIconSuite );
On return, a pointer to a handle to a new, empty icon suite. Use the AddIconToSuite function to add handles to icon data.
A result code.
When you create an icon suite using this function, it sets the default label for the suite to none. To set a new default label for an icon suite, use the SetSuiteLabel function. NewIconSuite allocates the memory for the icon suite handle. To release the memory occupied by an icon suite, you must use the DisposeIconSuite function.
This function may move or purge memory blocks in the application heap. For that reason, your application should not call it at interrupt time.
Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/18/2000)